package com.nf.bookstytem.model.readermanage;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class ReaderModel {
	private Integer rid;
	private Integer rreadid;
	private String rloginid;
	private String rloginpwd;
	private String rname;
	private String rphone;
	private String remail;
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date rregtime;
	private String rcard;
	private String raddress;
	private Integer rborrow;
	private String roperator;
	
	public Integer getRid() {
		return rid;
	}
	public void setRid(Integer rid) {
		this.rid = rid;
	}
	public Integer getRreadid() {
		return rreadid;
	}
	public void setRreadid(Integer rreadid) {
		this.rreadid = rreadid;
	}
	public String getRloginid() {
		return rloginid;
	}
	public void setRloginid(String rloginid) {
		this.rloginid = rloginid;
	}
	public String getRloginpwd() {
		return rloginpwd;
	}
	public void setRloginpwd(String rloginpwd) {
		this.rloginpwd = rloginpwd;
	}
	public String getRname() {
		return rname;
	}
	public void setRname(String rname) {
		this.rname = rname;
	}
	
	public String getRphone() {
		return rphone;
	}
	public void setRphone(String rphone) {
		this.rphone = rphone;
	}
	public String getRemail() {
		return remail;
	}
	public void setRemail(String remail) {
		this.remail = remail;
	}
	public Date getRregtime() {
		return rregtime;
	}
	public void setRregtime(Date rregtime) {
		this.rregtime = rregtime;
	}
	public String getRcard() {
		return rcard;
	}
	public void setRcard(String rcard) {
		this.rcard = rcard;
	}
	public String getRaddress() {
		return raddress;
	}
	public void setRaddress(String raddress) {
		this.raddress = raddress;
	}
	
	public Integer getRborrow() {
		return rborrow;
	}
	public void setRborrow(Integer rborrow) {
		this.rborrow = rborrow;
	}
	public String getRoperator() {
		return roperator;
	}
	public void setRoperator(String roperator) {
		this.roperator = roperator;
	}
	
	
	public ReaderModel(Integer rid, Integer rreadid, String rloginid, String rloginpwd, String rname, String rphone,
			String remail, Date rregtime, String rcard, String raddress, Integer rborrow, String roperator) {
		super();
		this.rid = rid;
		this.rreadid = rreadid;
		this.rloginid = rloginid;
		this.rloginpwd = rloginpwd;
		this.rname = rname;
		this.rphone = rphone;
		this.remail = remail;
		this.rregtime = rregtime;
		this.rcard = rcard;
		this.raddress = raddress;
		this.rborrow = rborrow;
		this.roperator = roperator;
	}
	public ReaderModel() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "ReaderModel [rid=" + rid + ", rreadid=" + rreadid + ", rloginid=" + rloginid + ", rloginpwd="
				+ rloginpwd + ", rname=" + rname + ", rphone=" + rphone + ", remail=" + remail + ", rregtime="
				+ rregtime + ", rcard=" + rcard + ", raddress=" + raddress + ", rborrow=" + rborrow + ", roperator="
				+ roperator + "]";
	}
	
}
